// WebSocket模块测试文件
import { connectionStatus } from './websocket'

// 检查connectionStatus是否正确导出
console.log('导入的connectionStatus:', connectionStatus)

// 测试函数，检查导入的connectionStatus是否有效
export function testConnectionStatus() {
  return {
    status: connectionStatus.value,
    isRef: !!connectionStatus.value,
    hasValue: typeof connectionStatus.value !== 'undefined'
  }
}

export default {
  testConnectionStatus
} 